﻿namespace SERFLITEMAX20
{
    using System;

    public static class Addresses
    {
        public static int NAME_LENGTH = 0x40;
        public static int OFFSET_CGPlayer_C__CastingSpellId = 0;
        public static int OFFSET_CGPlayer_C__IsShootingFlag = 0;
        public static int OFFSET_CGPlayer_C__MeleeTarget = 0;
        public static int OFFSET_Corpse_Facing = 0xf4;
        public static int OFFSET_Corpse_PosX = 0xec;
        public static int OFFSET_Corpse_PosY = 0xe8;
        public static int OFFSET_Corpse_PosZ = 240;
        public static int OFFSET_GAMEOBJECT_BOBBER_BOBBING = 0xbc;
        public static int OFFSET_GameObject_Facing = 0xf4;
        public static int OFFSET_GameObject_MoTransportFacing = 0x1e4;
        public static int OFFSET_GameObject_MoTransportPosX = 0x1dc;
        public static int OFFSET_GameObject_MoTransportPosY = 0x1d8;
        public static int OFFSET_GameObject_MoTransportPosZ = 480;
        public static int OFFSET_GAMEOBJECT_NAME = 0x90;
        public static int OFFSET_GAMEOBJECT_NAME_DB = 420;
        public static int OFFSET_GameObject_PosX = 0xec;
        public static int OFFSET_GameObject_PosY = 0xe8;
        public static int OFFSET_GameObject_PosZ = 240;
        public static int OFFSET_GameObject_TransportFacing = 0xf4;
        public static int OFFSET_GameObject_TransportPosX = 0xec;
        public static int OFFSET_GameObject_TransportPosY = 0xe8;
        public static int OFFSET_GameObject_TransportPosZ = 240;
        public static int OFFSET_GAMEOBJECT_TYPEID = 0x25d;
        public static int OFFSET_OBJECT_GUID = 0x30;
        public static int OFFSET_OBJECT_STORAGE_POINTER_END = 12;
        public static int OFFSET_OBJECT_STORAGE_POINTER_START = 8;
        public static int OFFSET_OBJECT_TYPE = 20;
        public static int OFFSET_playerID = 8;
        public static int OFFSET_PLAYERNAME = 0x20;
        public static int OFFSET_s_curMgr_FirstObject = 0xac;
        public static int OFFSET_s_curMgr_NextObject = 60;
        public static int OFFSET_TLS_curMgr = 0x10;
        public static int OFFSET_UNIT_Name = 0x5c;
        public static int OFFSET_UNIT_Name_DB = 0x964;
        public static int OFFSET_UNIT_PosX = 0x79c;
        public static int OFFSET_UNIT_PosY = 0x798;
        public static int OFFSET_UNIT_PosZ = 0x7a0;
        public static int OFFSET_UNIT_Rotation = 0x7a8;
        public static int OFFSET_UNIT_Speed = 0xca0;
        public static int OFFSET_UNIT_SubName = 4;

        public static int STATIC_TLS_SLOT = 0xd640f4;
        public static int STATIC_AreaID = 0xb685dc;
 
        public static int STATIC_g_factionDB = 0xa740c0;
        public static int STATIC_g_factionGroupDB = 0xa740d0;
        
        public static int STATIC_g_nameDBCache = 0xc76018;


        public static int STATIC_PLAYER_ROT = 0xd5e930;
        public static int STATIC_PLAYER_X = 0xd57f64;
        public static int STATIC_PLAYER_Y = (STATIC_PLAYER_X + 4);
        public static int STATIC_PLAYER_Z = (STATIC_PLAYER_Y + 4);

        public static int STATIC_Playername = 0xc91d00;
        public static int STATIC_SubZoneText = 0xb68550;
        public static int STATIC_ZoneText = 0xb68558;

        public static int STATIC_CGGameUI__m_lockedTarget = 0;
        public static int STATIC_CGGameUI__m_player = 0;
        public static int STATIC_CGLootInfo__m_coins = 0;
        public static int STATIC_CGLootInfo__m_loot = 0;
        public static int STATIC_CGLootInfo__m_object = 0;
        public static int STATIC_CGPartyInfo__m_members = 0;
        public static int STATIC_g_slotNames = 0;
        public static int STATIC_g_slotNamesCount = 0;
        public static int STATIC_g_itemDBCache = 0;
    }
}

